<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>登录—华为帐号</title>
		<link rel="shortcut icon" href="././Public/Home/images/favicon.ico"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/common.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/login.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/register.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/bootstrap.min.css"/>
		<script src="./Public/Home/js/jquery-2.1.4.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/hdjs.min.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/hdjs.css"/>
		<script type="text/javascript">
			$(function(){
				var imgSrc = $('#codeImg').attr('src');
				$('#codeImg,#code').click(function(){
					//设置验证码图片的地址
					$('#codeImg').attr('src',imgSrc + "&rand=" + Math.random());
				})
				$('#HDJS').validate({
					email: {
	                rule: {
	                    required: true,
	                    email: true
	                },
	              userpassword: {
	                rule: {
	                    required: true,
	                    confirm: 'cpassword'
	                },
	                error: {
	                    required: '密码不能为空',
	                    confirm: '两次密码不一致'

	                }
	            }
			})
		</script>
		
	</head>
	<body class="login">
		<div class="header">
			<div class="cating">
				<table cellspacing="" cellpadding="">
					<tr>
						<td><img src="./Public/Home/images/log/logo2.png"/></td>
						<td><span class="shu">|</span></td>
						<td><span class="vmall">华为商城</span></td>
					</tr>
				</table>
			</div>
		</div>
		<p class="t40"></p>
		<div class="re_box cating">
			
		  <form class="form-horizontal" method="post">
		    <fieldset>
		      <div id="legend" class="">
		      	<p class="t10"></p>
		        <legend class="controls" style="border-bottom: none;">注册华为帐号</legend>
		      </div>
		    	<div class="control-group">
		
		          <!-- Text input-->
		          <label class="control-label" for="input01">邮箱</label>
		          <div class="controls">
		            <input  placeholder="你的邮箱" class="input-xlarge" name="useremail" type="Email">
		
		          </div>
		        </div>
				<p class="t10"></p>
		
		    	<div class="control-group">
		
		          <!-- Text input-->
		          <label class="control-label" for="input01">密码</label>
		          <div class="controls">
		            <input  placeholder="最少6个字符" class="input-xlarge" name="userpassword" type="password">
		          </div>
		        </div>
		
		
				<p class="t10"></p>
		    	<div class="control-group">
		
		          <!-- Text input-->
		          <label class="control-label" for="input01">确认密码</label>
		          <div class="controls">
		            <input  placeholder="最少6位字符" class="input-xlarge" name="password2" type="password">
		          </div>
		        </div>
		        <p class="t10"></p>
		        <div class="control-group">
		
		          <!-- Text input-->
		          <label class="control-label" for="input01">验证码</label>
		          <div class="controls">
		            <input  placeholder="请输入验证码" class="input-xlarge" type="text" name="code">
		
		          </div>
		        </div>
				<p class="t10"></p>
				<img src="{{U('Register/code')}}" alt="" class="controls" id="codeImg"/>
				<a href="javascript:;" id="code">点击切换验证码</a>
				<p class="t10"></p>
				<div class="checkbox controls">
				    <label>
				      <input type="checkbox" checked="checked" name='checked'> 同意  《华为帐号服务条款、华为隐私政策》
				    </label>
		  		</div>
		  		<p class="t10"></p>
		  		<button type="submit" class="btn btn-lg btn-warning controls ">马上注册</button>
		  		
		    </fieldset>
		  </form>
		  <div class="ft_bar">
			<span class="">已有华为帐号</span>
			<a href="{{U('Login/index')}}" class="btn btn-block btn-default" class="">登录</a>
		  </div>
		</div>
		
		<p class="t20"></p>
		<!--login_box-->
		<div class="foot  clear">
			<div class="cating" style="border-top: 1px solid #333;">
				<p class="t10"></p>
				<span>《华为帐号服务条款、华为隐私政策》 | 常见问题</span>
				<span>Copyright © 2011-2015  华为软件技术有限公司  版权所有  保留一切权利  苏B2-20070200号 | 苏ICP备09062682号-9</span>
			</div>
		</div>
	</body>
</html>
